<div class="row m-n">
    <div tabset type="tab">
        <div tab heading="个人信息" active="activeFlag[0]" ng-click="changeTab(0)">
            <form name="form" class="form-horizontal wrapper-md clearfix" novalidate>
                <div class="form-group m-b-none">
                    <label class="col-xs-2 control-label">登录名称：</label>
                    <div class="col-xs-5 control-label text-left">
                        {{detailInfo.loginName}}
                    </div>
                </div>
                <div class="form-group m-b-none">
                    <label class="col-xs-2 control-label">登录密码：</label>
                    <div class="col-xs-5 control-label text-left">
                        ********&emsp;<button class="btn btn-operate" ui-sref="app.personal.changePwd">修改密码</button>
                    </div>
                </div>
                <div class="form-group m-b-none">
                    <label class="col-xs-2 control-label">所属部门：</label>
                    <div class="col-xs-5 control-label text-left">
                        {{detailInfo.deptName}}
                    </div>
                </div>
                <div class="form-group m-b-sm">
                    <label class="col-xs-2 control-label">角色：</label>
                    <div class="col-xs-5 control-label text-left">
                        {{detailInfo.roleNames}}
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-xs-2 control-label"><i>*</i>真实姓名：</label>
                    <div class="col-xs-5 wrapper-none">
                        <input type="text" name="realName" class="form-control" ng-model="detailInfo.name" required yb-focus maxlength="20">
                    </div>
                    <div class="col-xs-4 msg-block" ng-show="form.realName.$dirty || (form.realName.$invalid && submitted)">
                        <div class="error-msg" ng-if="form.realName.$error.required && !form.realName.focused">
                            <i class="yb-icon ico-times-circular"></i>必填项，请填写
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-xs-2 control-label">手机号：</label>
                    <div class="col-xs-5 wrapper-none">
                        <input type="text" name="telephone" class="form-control" ng-model="detailInfo.mobile"
                               yb-mobile yb-focus maxlength="11">
                    </div>
                    <div class="col-xs-4 msg-block" ng-show="form.telephone.$dirty || (form.telephone.$invalid&&submitted)">
                        <div class="error-msg" ng-show="form.telephone.$error.mobile && !form.telephone.focused">
                            <i class="yb-icon ico-times-circular"></i>手机号格式错误
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-xs-2 control-label">电子邮箱：</label>
                    <div class="col-xs-5 wrapper-none">
                        <input type="text" name="email" class="form-control" ng-model="detailInfo.email" yb-email
                               yb-focus maxlength="50">
                    </div>
                    <div class="col-xs-4 msg-block" ng-show="form.email.$dirty || (form.email.$invalid && submitted)">
                        <div class="error-msg" ng-show="form.email.$error.email && !form.email.focused">
                            <i class="yb-icon ico-times-circular"></i>邮箱格式错误
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-xs-offset-2">
                        <button type="button" class="btn btn-primary m-r-sm" ng-click="saveData(form.$valid)">保存</button>
                        <button type="button" class="btn btn-default m-r-sm" ng-click="resetData()">重置</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>